﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DebuggerStepThrough, DesignerCategory("code"), XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152")]
    public class VideoSource : DeviceEntity
    {
        private XmlAttribute[] anyAttrField;
        private VideoSourceExtension extensionField;
        private float framerateField;
        private ImagingSettings imagingField;
        private VideoResolution resolutionField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=3)]
        public VideoSourceExtension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(Order=0)]
        public float Framerate
        {
            get
            {
                return this.framerateField;
            }
            set
            {
                this.framerateField = value;
            }
        }

        [XmlElement(Order=2)]
        public ImagingSettings Imaging
        {
            get
            {
                return this.imagingField;
            }
            set
            {
                this.imagingField = value;
            }
        }

        [XmlElement(Order=1)]
        public VideoResolution Resolution
        {
            get
            {
                return this.resolutionField;
            }
            set
            {
                this.resolutionField = value;
            }
        }
    }
}

